package com.zbkj.service.dao.page;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.common.model.page.PageDiy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * DIY数据表 Mapper 接口
 * </p>
 *
 * @author dazongzi
 * @since 2023-05-16
 */
public interface PageDiyDao extends BaseMapper<PageDiy> {
    /**
     * 获取关注店铺的商品id
     * @param userId
     * @return
     */
    List<Integer> getMerchantCollect(@Param("userId")Integer userId);

}
